package com.shaw.workrecord.service;

import com.shaw.workrecord.entity.PageResponse;
import com.shaw.workrecord.pojo.request.FeedAddRequest;
import com.shaw.workrecord.pojo.request.FeedEditRequest;
import com.shaw.workrecord.pojo.request.FeedRecordPageRequest;
import com.shaw.workrecord.pojo.response.FeedResponse;

/**
 * @author jiangjunhui
 * @description
 * @date 2023/8/10 14:02
 */
public interface IFeedService {

    /**
     * 获取喂养喂养记录分页列表
     *
     * @param request 请求对象
     * @return
     */
    PageResponse<FeedResponse> getFeedRecordPage(FeedRecordPageRequest request);

    /**
     * 新增喂养记录
     *
     * @param request 请求对象
     * @return
     */
    Boolean addFeedRecord(FeedAddRequest request);

    /**
     * 编辑喂养记录
     *
     * @param request 请求对象
     * @return
     */
    Boolean editFeedRecord(FeedEditRequest request);

    /**
     * 删除喂养记录
     *
     * @param id id
     * @return
     */
    Boolean deleteFeedRecord(Long id);
}
